<template>
  <div>
    <div class="goods-list-container">
      <ul>
        <li>
          <jinkougoods :obj="obj"></jinkougoods>
        </li>
        <li>
          <jinkougoods :obj="obj"></jinkougoods>
        </li>
        <li>
          <jinkougoods :obj="obj"></jinkougoods>
        </li>
        <li>
          <jinkougoods :obj="obj"></jinkougoods>
        </li>
        <li>
          <jinkougoods :obj="obj"></jinkougoods>
        </li>
        <li>
          <jinkougoods :obj="obj"></jinkougoods>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
import Vue from "vue";
import jinkougoods from "./jinkougoods";
export default {
  props: ["obj"],
  components: {
    jinkougoods,
  },
};
</script>

<style lang="stylus" scoped>
.goods-list-container {
  >ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

.goods-list-container>ul>li {
  width: 47%;
}
</style>